package com.ctshk.rpc.scenic.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 门票抽奖种类表
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-02-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_ticket_type_luck_draw")
@ApiModel(value="TicketTypeLuckDraw对象", description="门票抽奖种类表")
public class TicketTypeLuckDraw extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "场次代码")
    @ExcelProperty("场次代码")
    private String sessionCode;

    @ApiModelProperty(value = "比赛项目")
    @ExcelProperty(value = "比赛项目")
    private String discipline;

    @ApiModelProperty(value = "场次名称")
    @ExcelProperty("场次名称")
    private String sessionsName;

    @ApiModelProperty(value = "赛区")
    @ExcelProperty("赛区")
    private String competitionArea;

    @ApiModelProperty(value = "比赛日期")
    @ExcelProperty("比赛日期")
    private LocalDateTime competitionDate;

    @ApiModelProperty(value = "比赛时间")
    @ExcelProperty("比赛时间")
    private String competitionTime;

    @ApiModelProperty(value = "票价级别")
    @ExcelProperty("票价级别")
    private String fareBasis;

    @ApiModelProperty(value = "价格")
    @ExcelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty(value = "创建人")
    @ExcelProperty("创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    @ExcelProperty("修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    @ExcelProperty("删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "状态")
    @ExcelProperty("状态")
    private Integer status;

    @ApiModelProperty(value = "余票数")
    @ExcelProperty("余票数")
    private Integer number;

    @ApiModelProperty(value = "比赛项目中文名称")
    @ExcelProperty("比赛项目中文名称")
    private String cnDiscipline;

    @ApiModelProperty(value = "场次中文名称")
    @ExcelProperty("场次中文名称")
    private String cnSessionsName;

    @ApiModelProperty(value = "赛区中文名称")
    @ExcelProperty("赛区中文名称")
    private String cnCompetitionArea;
}
